package com.itheima.domain;

import java.util.Date;

public class User {
    private Integer id;
    private String username;
    private Integer gender;
    private String idCard;
    private Date in_time;
    private Integer status;
    private Trip trip;//行程信息

    public User() {
    }

    public User(Integer id, String username, Integer gender, String idCard, Date in_time, Integer status, Trip trip) {
        this.id = id;
        this.username = username;
        this.gender = gender;
        this.idCard = idCard;
        this.in_time = in_time;
        this.status = status;
        this.trip = trip;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Date getIn_time() {
        return in_time;
    }

    public void setIn_time(Date in_time) {
        this.in_time = in_time;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Trip getTrip() {
        return trip;
    }

    public void setTrip(Trip trip) {
        this.trip = trip;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", gender=" + gender +
                ", idCard='" + idCard + '\'' +
                ", in_time=" + in_time +
                ", status=" + status +
                ", trip=" + trip +
                '}';
    }
}
